Part Number Hot Search : 
PJU1084 C6144 D10N05 0ACOI7 SMBJ60 5X050Z2 1N4733 12VDC
Product Description
Full Text Search
 

To Download DS21Q41AFP Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 of 61 092299 features four t1 ds1/isdn-pri framing transceivers all four framers are fully independent frames to d4, esf, and slc-96 formats 8-bit parallel control port that can be connected to either multiplexed or non- multiplexed buses each of the four framers contains dual two- frame elastic stores that can connect to asynchronous or synchronous backplanes up to 8.192 mhz extracts and inserts robbed bit signaling framer and payload loopbacks large counters for bpvs, lcvs, exzs, crc6, pcvs, f-bit errors and the number of multiframes out of sync contains ansi 1s density monitor and enforcer csu loop code generator and detector programmable output clocks for fractional t1, isdn-pri, actual size and per channel loopback applications onboard fdl support circuitry pin-compatible with ds21q43 quad e1 framer 5v supply; low power cmos available in 128-pin tqfp industrial (-40c to +85c) grade version available (ds21q41btn) functional diagram actual size quad t1 framer description the ds21q41b combines four of the popular ds2141a t1 controllers onto a single monolithic die. the ?b? designation denotes that some new features are available in the quad version that were not available in the single t1 device. the added features in the ds21q41b are listed in section 1. the ds21q41b offers a substantial space savings to applications that require more than one t1 framer on a card. the quad version is only slightly bigger than the single t1 device. all four framers in the ds21q41b are totally independent; they do not share a common framing synchronizer. also, the transmit and receive sides of each framer are totally independent. the dual two-frame elastic stores contained in each of the four framers can be independently enabled and disabled as required. the ds21q41b meets all of the latest specifications including ansi t1.403 (and the emerging t1.403-199x), ansi t1.231-1993, at&t tr62411, at&t tr54016, itu g.704 and g.706. ds21q41b quad t1 framer www.dalsemi.com receive framer transmit formatter elastic store elastic store framer #0 framer #1 framer #2 framer #3 control port
ds21q41b 2 of 61 1.0 introduction the ds21q41b quad t1 framer is made up of five main parts: framer #0, framer #1, framer #2, framer #3, and the control port which is shared by all four framers. see the block diagram in figure 1-1. each of the four framers within the ds21q41b maintain the same register structure that appeared in the ds2141a. the two framer select inputs (fs0 and fs1) are used to determine which framer within the ds21q41b is being accessed. in this manner, software written for the ds2141a can also be used with only slight modifications, in the ds21q41b. several new features have been added to the framers in the ds21q41b over the ds2141a. below is short list of the new features. more details can be found in sections 2 through 12. added feature section non-multiplexed parallel control port operation 2 ansi ones density monitor (transmit and receive sides) and enforcer (transmit side only) 3 and 4 csu loop code generator 3 elastic store reset and minimum delay mode 3 and 10 divide rsync output by two for d4 to esf conversion applications 3 tclk keep alive 3 indications of transmit side elastic store slip direction 4 ability to decouple the receive and transmit elastic stores 10 counting of excessive 0s (exzs) 5
ds21q41b 3 of 61 ds21q41b block diagram figure 1-1
ds21q41b 4 of 61 transmit pin list table 1-1 pin symbol type description 19 tclk0 i transmit clock for framer 0 53 tclk1 i transmit clock for framer 1 87 tclk2 i transmit clock for framer 2 113 tclk3 i transmit clock for framer 3 126 tser0 i transmit serial data for framer 0 32 tser1 i transmit serial data for framer 1 66 tser2 i transmit serial data for framer 2 92 tser3 i transmit serial data for framer 3 128 tchclk0 o transmit channel clock from framer 0 34 tchclk1 o transmit channel clock from framer 1 68 tchclk2 o transmit channel clock from framer 2 94 tchclk3 o transmit channel clock from framer 3 1 tchblk0 o transmit channel block from framer 0 35 tchblk1 o transmit channel block from framer 1 69 tchblk2 o transmit channel block from framer 2 95 tchblk3 o transmit channel block from framer 3 20 tlclk0 o transmit link clock from framer 0 54 tlclk1 o transmit link clock from framer 1 88 tlclk2 o transmit link clock from framer 2 114 tlclk3 o transmit link clock from framer 3 22 tlink0 i transmit link data for framer 0 56 tlink1 i transmit link data for framer 1 90 tlink2 i transmit link data for framer 2 116 tlink3 i transmit link data for framer 3 2 tpos0 o transmit bipolar data from framer 0 36 tpos1 o transmit bipolar data from framer 1 70 tpos2 o transmit bipolar data from framer 2 96 tpos3 o transmit bipolar data from framer 3 3 tneg0 o transmit bipolar data from framer 0 37 tneg1 o transmit bipolar data from framer 1 71 tneg2 o transmit bipolar data from framer 2 97 tneg3 o transmit bipolar data from framer 3 21 tsync0 i/o transmit sync for framer 0 55 tsync1 i/o transmit sync for framer 1 89 tsync2 i/o transmit sync for framer 2 115 tsync3 i/o transmit sync for framer 3
ds21q41b 5 of 61 127 tfsync0 i transmit sync for elastic store in framer 0 33 tfsync1 i transmit sync for elastic store in framer 1 67 tfsync2 i transmit sync for elastic store in framer 2 93 tfsync3 i transmit sync for elastic store in framer 3 125 tsysclk0 i transmit system clock for elastic store in framer 0 31 tsysclk1 i transmit system clock for elastic store in framer 1 65 tsysclk2 i transmit system clock for elastic store in framer 2 91 tsysclk3 i transmit system clock for elastic store in framer 3 receive pin list table 1-2 pin symbol type description 6 rclk0 i receive clock for framer 0 40 rclk1 i receive clock for framer 1 74 rclk2 i receive clock for framer 2 100 rclk3 i receive clock for framer 3 13 rser0 o receive serial data from framer 0 49 rser1 o receive serial data from framer 1 83 rser2 o receive serial data from framer 2 107 rser3 o receive serial data from framer 3 9 rchclk0 o receive channel clock from framer 0 43 rchclk1 o receive channel clock from framer 1 77 rchclk2 o receive channel clock from framer 2 103 rchclk3 o receive channel clock from framer 3 10 rchblk0 o receive channel block from framer 0 44 rchblk1 o receive channel block from framer 1 80 rchblk2 o receive channel block from framer 2 104 rchblk3 o receive channel block from framer 3 5 rlclk0 o receive link clock from framer 0 39 rlclk1 o receive link clock from framer 1 73 rlclk2 o receive link clock from framer 2 99 rlclk3 o receive link clock from framer 3 4 rlink0 o receive link data from framer 0 38 rlink1 o receive link data from framer 1 72 rlink2 o receive link data from framer 2 98 rlink3 o receive link data from framer 3 8 rpos0 i receive bipolar data for framer 0 42 rpos1 i receive bipolar data for framer 1 76 rpos2 i receive bipolar data for framer 2
ds21q41b 6 of 61 102 rpos3 i receive bipolar data for framer 3 7 rneg0 i receive bipolar data for framer 0 41 rneg1 i receive bipolar data for framer 1 75 rneg2 i receive bipolar data for framer 2 101 rneg3 i receive bipolar data for framer 3 12 rsync0 i/o receive sync for framer 0 48 rsync1 i/o receive sync for framer 1 82 rsync2 i/o receive sync for framer 2 106 rsync3 i/o receive sync for framer 3 17 rfsync0 o receive frame sync from framer 0 51 rfsync1 o receive frame sync from framer 1 85 rfsync2 o receive frame sync from framer 2 109 rfsync3 o receive frame sync from framer 3 16 rmsync0 o receive multiframe sync from framer 0 50 rmsync1 o receive multiframe sync from framer 1 84 rmsync2 o receive multiframe sync from framer 2 108 rmsync3 o receive multiframe sync from framer 3 11 rsysclk0 i receive system clock for elastic store in framer 0 45 rsysclk1 i receive system clock for elastic store in framer 1 81 rsysclk2 i receive system clock for elastic store in framer 2 105 rsysclk3 i receive system clock for elastic store in framer 3 18 rlos/lotc0 o receive loss of sync/loss of transmit clock from framer 0 52 rlos/lotc1 o receive loss of sync/loss of transmit clock from framer 1 86 rlos/lotc2 o receive loss of sync/loss of transmit clock from framer 2 112 rlos/lotc3 o receive loss of sync/loss of transmit clock from framer 3
ds21q41b 7 of 61 control port/test/supply pin list table 1-3 pin symbol type description 57 test i 3-state control for all output and i/o pins 60 cs i chip select 58 fs0 i framer select 0 for parallel control port 59 fs1 i framer select 1 for parallel control port 61 bts i bus type select for parallel control port 63 wr (r/ w ) i write input (read/write) 62 rd (ds) i read input (data strobe) 23 a0 i address bus bit 0; ls 24 a1 i address bus bit 1 25 a2 i address bus bit 2 26 a3 i address bus bit 3 27 a4 i address bus bit 4 28 a5 i address bus bit 5 29 a6 or ale (as) i address bus bit 6; msb or address latch enable (address strobe) 30 int o receive alarm interrupt for all four framers 64 mux i non-multiplexed or multiplexed bus select 117 d0 or ad0 i/o data bus bit 0 or address/data bus bit 0; lsb 118 d1 or ad1 i/o data bus bit 1 or address/data bus bit 1 119 d2 or ad2 i/o data bus bit 2 or address/data bus bit 2 120 d3 or ad3 i/o data bus bit 3 or address/data bus bit 3 121 d4 or ad4 i/o data bus bit 4 or address/data bus bit 4 122 d5 or ad5 i/o data bus bit 5 or address/data bus bit 5 123 d6 or ad6 i/o data bus bit 6 or address/data bus bit 6 124 d7 or ad7 i/o data bus bit 7 or address/data bus bit 7; msb 15 v dd - positive supply voltage 47 v dd - positive supply voltage 79 v dd - positive supply voltage 111 v dd - positive supply voltage 14 v ss - signal ground 46 v ss - signal ground 78 v ss - signal ground 110 v ss - signal ground
ds21q41b 8 of 61 ds21q41b pin description table 1-4 transmit clock [tclk]. 1.544 mhz primary clock. used to clock data through the transmit side formatter. transmit serial data [tser]. transmit nrz serial data. sampled on the falling edge of tclk when the transmit side elastic store is disabled. sampled on the falling edge of tsysclk when the transmit side elastic store is enabled. transmit channel clock [tchclk]. 192 khz clock which pulses high during the lsb of each channel. synchronous with tclk when the transmit side elastic store is disabled. synchronous with tsysclk when the transmit side elastic store is enabled. useful for parallel to serial conversion of channel data, locating robbed-bit signaling bits, and for blocking clocks in dds applications. see section 12 for timing details. transmit bipolar data [tpos and tneg]. updated on rising edge of tclk. can be programmed to output nrz data on tpos via the tcr1.7 control bit. transmit channel block [tchblk]. a user programmable output that can be forced high or low during any of the 24 t1 channels. synchronous with tclk when the transmit side elastic store is disabled. synchronous with tsysclk when the transmit side elastic store is enabled. useful for blocking clocks to a serial uart or lapd controller in applications where not all t1 channels are used such as fractional t1, 384k bps service, 768k bps, or isdn-pri. also useful for locating individual channels in drop-and-insert applications and for per-channel loopback. see section 12 for timing details. transmit system clock [tsysclk]. 1.544 mhz or 2.048 mhz clock. only used when the transmit side elastic store function is enabled. should be tied low in applications that do not use the transmit side elastic store. transmit link clock [tlclk]. 4 khz or 2 khz (zbtsi) demand clock for the tlink input. see section 12 for timing details. transmit link data [tlink]. if enabled via tcr1.2, this pin will be sampled during the f-bit time on the falling edge of tclk for data insertion into either the fdl stream (esf) or the fs bit position (d4) or the z-bit position (zbtsi). see section 12 for timing details. transmit sync [tsync]. a pulse at this pin will establish either frame or multiframe boundaries for the ds21q41b. via tcr2.2, the ds21q41b can be programmed to output either a frame or multiframe pulse at this pin. if this pin is set to output pulses at frame boundaries, it can also be set via tcr2.4 to output double-wide pulses at signaling frames. see section 12 for timing details. transmit frame sync [tfsync]. 8 khz pulse. only used when the transmit side elastic store is enabled. a pulse at this pin will establish frame boundaries for the ds21q41b. should be tied low in applications that do not use the transmit side elastic store. see section 12 for timing details. receive link data [rlink]. updated with either fdl data (esf) or fs bits (d4) or z bits (zbtsi) one rclk before the start of a frame. see section 12 for timing details. receive link clock [rlclk]. 4 khz or 2 khz (zbtsi) demand clock for the rlink input. see section 12 for timing details.
ds21q41b 9 of 61 receive clock [rclk]. 1.544 mhz primary clock. used to clock data through the receive side of the framer. receive channel clock [rchclk]. 192 khz clock which pulses high during the lsb of each channel. synchronous with rclk when the receive side elastic store is disabled. synchronous with rsysclk when the receive side elastic store is enabled. useful for parallel to serial conversion of channel data, locating robbed-bit signaling bits, and for blocking clocks in dds applications. see section 12 for timing details. receive channel block [rchblk]. a user programmable output that can be forced high or low during any of the 24 t1 channels. synchronous with rclk when the receive side elastic store is disabled. synchronous with rsysclk when the receive side elastic store is enabled. useful for blocking clocks to a serial uart or lapd controller in applications where not all t1 channels are used such as fractional t1, 384k bps service, 768k bps, or isdn-pri. also useful for locating individual channels in drop-and- insert applications and for per-channel loopback. see section 12 for timing details. receive serial data [rser]. received nrz serial data. updated on rising edges of rclk when the receive side elastic store is disabled. updated on the rising edges of rsysclk when the receive side elastic store is enabled. receive sync [rsync]. an extracted pulse, one rclk wide, is output at this pin which identifies either frame (rcr2.4=0) or multiframe boundaries (rcr2.4=1). if set to output frame boundaries, then via rcr2.5, rsync can also be set to output double-wide pulses on signaling frames. if the receive side elastic store is enabled, then this pin can be enabled to be an input at which a frame boundary pulse is applied. see section 12 for timing details. receive frame sync (rfsync). an extracted 8 khz pulse, one rclk wide, is output at this pin which identifies frame boundaries. see section 12 for timing details. receive multiframe sync [rmsync]. only used when the receive side elastic store is enabled. an extracted pulse, one rsysclk wide, is output at this pin which identifies multiframe boundaries. if the receive side elastic store is disabled, then this output should be ignored. see section 12 for timing details. receive bipolar data inputs [rpos and rneg]. sampled on falling edge of rclk. tie together to receive nrz data and disable bipolar violation monitoring circuitry. receive system clock [rsysclk]. 1.544 mhz or 2.048 mhz clock. only used when the elastic store function is enabled. should be tied low in applications that do not use the elastic store. allowing this pin to float can cause the device to 3-state its outputs. receive loss of sync/loss of transmit clock [rlos/lotc]. a dual function output. if ccr1.6=0, then this pin will toggle high when the synchronizer is searching for the t1 frame and multiframe. if ccr1.6=1, then this pin will toggle high if the tclk pin has not been toggled for 5 m s. receive alarm interrupt [ int ]. flags host controller during conditions defined in the status registers of the four framers. user can poll the interrupt status register (isr) to determine which status register in which framer is active (if any). active low, open drain output. 3-state control [test]. set high to 3-state all output and i/o pins (including the parallel control port). set low for normal operation. useful in board-level testing.
ds21q41b 10 of 61 bus operation [mux]. set low to select non-multiplexed bus operation. set high to select multiplexed bus operation. data bus [d0 to d7] or address/data bus [ad0 to ad7]. in non-multiplexed bus operation (mux=0), serves as the data bus. in multiplexed bus operation (mux=1), serves as an 8-bit multiplexed address/data bus. address bus [a0 to a5]. in non-multiplexed bus operation (mux=0), serves as the address bus. in multiplexed bus operation (mux=1), these pins are not used and should be tied low. bus type select [bts]. strap high to select motorola bus timing; strap low to select intel bus timing. this pin controls the function of the rd (ds), ale(as), and wr (r/ w ) pins. if bts=1, then these pins assume the function listed in parentheses (). read input [ rd ] (data strobe [ds]). framer selects [fs0 and fs1]. selects which of the four framers to be accessed. chip selects [ cs ]. must be low to read or write to any of the four framers. a6 or address latch enable [ale] (address strobe [as]). in non-multiplexed bus operation (mux=0), serves as the upper address bit. in multiplexed bus operation (mux=1), serves to demultiplex the bus on a positive-going edge. write input [ wr ] (read/write [r/ w ]). positive supply [v dd ]. 5.0 volts 0.5 volts. signal ground [v ss ]. 0.0 volts.
ds21q41b 11 of 61 ds21q41b register map table 1-5 address r/w register name 20 r/w status register 1 21 r/w status register 2 22 r/w receive information register 1 23 r line code violation count register 1 24 r line code violation count register 2 25 r path code violation count register 1 (1) 26 r path code violation count register 2 27 r multiframe out of sync count register 2 28 r receive fdl register 29 r/w receive fdl match register 1 2a r/w receive fdl match register 2 2b r/w receive control register 1 2c r/w receive control register 2 2d r/w receive mark register 1 2e r/w receive mark register 2 2f r/w receive mark register 3 30 r/w common control register 3 31 r/w receive information register 2 32 r/w transmit channel blocking register 1 33 r/w transmit channel blocking register 2 34 r/w transmit channel blocking register 3 35 r/w transmit control register 1 36 r/w transmit control register 2 37 r/w common control register 1 38 r/w common control register 2 39 r/w transmit transparency register 1 3a r/w transmit transparency register 2 3b r/w transmit transparency register 3 3c r/w transmit idle register 1 3d r/w transmit idle register 2 3e r/w transmit idle register 3 3f r/w transmit idle definition register 60 r receive signaling register 1 61 r receive signaling register 2 62 r receive signaling register 3 63 r receive signaling register 4
ds21q41b 12 of 61 address r/w register name 64 r receive signaling register 5 65 r receive signaling register 6 66 r receive signaling register 7 67 r receive signaling register 8 68 r receive signaling register 9 69 r receive signaling register 10 6a r receive signaling register 11 6b r receive signaling register 12 6c r/w receive channel blocking register 1 6d r/w receive channel blocking register 2 6e r/w receive channel blocking register 3 6f r/w interrupt mast register 2 70 r/w transmit signaling register 1 71 r/w transmit signaling register 2 72 r/w transmit signaling register 3 73 r/w transmit signaling register 4 74 r/w transmit signaling register 5 75 r/w transmit signaling register 6 76 r/w transmit signaling register 7 77 r/w transmit signaling register 8 78 r/w transmit signaling register 9 79 r/w transmit signaling register 10 7a r/w transmit signaling register 11 7b r/w transmit signaling register 12 7c r/w test register (2) 7d r/w test register (2) 7e r/w transmit fdl register 7f r/w interrupt mask register 1 notes: 1. address 25 also contains multiframe out of sync count register 1. 2. the test registers are used only by the factory; these registers must be cleared (set to all 0s) on power-up initialization to insure proper operation. 3. any unused register address will allow the status of the interrupts to appear on the bus.
ds21q41b 13 of 61 ds21q41b framer decode table 1-6 fs1 fs0 framer accessed 0 0 #0 0 1 #1 1 0 #2 1 1 #3 2.0 parallel port the ds21q41b is controlled via either a non-mutliplexed (mux=0) or multiplexed (mux=1) by an external microcontroller or microprocessor. the ds21q41b can operate with either intel or motorola bus timing configurations. if the bts pin is tied low, intel timing will be selected; if tied high, motorola timing will be selected. all motorola bus signals are listed in parenthesis (). see the timing diagrams in the a.c. electrical characteristics for more details. 3.0 control registers the operation of each framer within the ds21q41b is configured via a set of seven registers. typically, the control registers are only accessed when the system is first powered up. once the ds21q41b has been initialized, the control registers will only need to be accessed when there is a change in the system configuration. there are two receive control registers (rcr1 and rcr2), two transmit control registers (tcr1 and tcr2), and three common control registers (ccr1, ccr2, and ccr3).
ds21q41b 14 of 61 rcr1: receive control register 1 (address=2b hex) (msb) (lsb) lcvcrf arc oof1 oof2 syncc cynct synce resync symbol position name and description lcvcrf rcr1.7 line code violation count register function select. 0=do not count excessive 0s 1=count excessive 0s arc rcr1.6 auto resync criteria. 0=resync on oof or rcl event 1=resync on oof only oof1 rcr1.5 out of frame select 1. 0=2/4 frame bits in error 1=2/5 frame bits in error oof2 rcr1.4 out of frame select 2. 0=follow rcr1.5 1=2/6 frame bits in error syncc rcr1.3 sync criteria. in d4 framing mode. 0=search for ft pattern, then search for fs pattern 1=cross couple ft and fs pattern in esf framing mode. 0=search for fps pattern only 1=search for fps and verify with crc6 synct rcr1.2 sync time. 0=qualify 10 bits 1=qualify 24 bits synce rcr1.1 sync enable. 0=auto resync enabled 1=auto resync disabled resync rcr1.0 resync. when toggled from low to high, a resynchronization of the receive side framer is initiated. must be cleared and set again for a subsequent resync.
ds21q41b 15 of 61 rcr2: receive control register 2 (address=2c hex) (msb) (lsb) rcs zbtsi rsdw rsm rsio d4ym fsbe moscrf symbol position name and description rcs rcr2.7 receive code select. 0=idle code (7f hex) 1=digital milliwatt code (1e/0b/0b/1e/9e/8b/8b/9e hex) zbtsi rcr2.6 zbtsi enable. 0=zbtsi disabled 1=zbtsi enabled rsdw rcr2.5 rsync double-wide. 0=do not pulse double-wide in signaling frames 1=do pulse double-wide in signaling frames (note: this bit must be set to 0 when rcr2.4=1 or when rcr2.3=1) rsm rcr2.4 rsync mode select. 0=frame mode (see the timing in section 12) 1=multiframe mode (see the timing in section 12) rsio rcr2.3 rsync i/o select. 0=rsync is an output 1=rsync is an input (only valid if elastic store enabled) (note: this bit must be set to 0 when ccr1.2=0) d4ym rcr2.2 d4 yellow alarm select. 0=0s in bit 2 of all channels 1=a one in the s-bit position of frame 12 fsbe rcr2.1 pcvcr fs bit error report enable. 0=do not report bit errors in fsbit position; only ft bit position 1=report bit errors in fs bit position as well as ft bit position moscrf rcr2.0 multiframe out of sync count register function select. 0=count errors in the framing bit position 1=count the number of multiframes out of sync
ds21q41b 16 of 61 tcr1: transmit control register 1 (address=35 hex) (msb) (lsb) lotcmc tfpt tcpt rbse gb7s tlink tbl tyel symbol position name and description lotcmc tcr1.7 loss of transmit clock mux control. determines whether the transmit side formatter should switch to the ever present rclk if the tclk input should fail to transition (see figure 1-1 for details). 0=do not switch to rclk if tclk stops 1=switch to rclk if tclk stops tfpt tcr1.6 transmit framing pass through. (see note below) 0=ft or fps bits sourced internally 1=ft or fps bits sampled at tser during f-bit time tcpt tcr1.5 transmit crc pass through. (see note below) 0=source crc6 bits internally 1=crc6 bits sampled at tser during f-bit time rbse tcr1.4 robbed bit signaling enable. (see note below) 0=no signaling is inserted in any channel 1=signaling is inserted in all channels (the ttr registers can be used to block insertion on a channel by channel basis) gb7s tcr1.3 global bit 7 stuffing. (see note below) 0=allow the ttr registers to determine which channels containing all 0s are to be bit 7 stuffed 1=force bit 7 stuffing in all 0-byte channels regardless of how the ttr registers are programmed tlink tcr1.2 tlink select. (see note below) 0=source fdl or fs bits from tfdl register 1=source fdl or fs bits from the tlink pin tbl tcr1.1 transmit blue alarm. (see note below) 0=transmit data normally 1=transmit an unframed all ones code at tpos and tneg tyel tcr1.0 transmit yellow alarm. (see note below) 0=do not transmit yellow alarm 1=transmit yellow alarm note: for a detailed description of how the bits in tcr1 affect the transmit side formatter of the ds21q41, please see figure 12-9.
ds21q41b 17 of 61 tcr2: transmit control register 2 (address=36 hex) (msb) (lsb) test1 test0 zbtsi tsdw tsm tsio d4ym b7zs symbol position name and description test1 tcr2.7 test mode bit 1 for output pins. see table 3-1. test0 tcr2.6 test mode bit 0 for output pins. see table 3-1. zbtsi tcr2.5 zbtsi enable. 0=zbtsi disabled 1=zbtsi enabled tsdw tcr2.4 tsync double-wide. (note: this bit must be set to 0 when tcr2.3=1 or when tcr2.2=0) 0=do not pulse double-wide in signaling frames 1=do pulse double-wide in signaling frames tsm tcr2.3 tsync mode select. 0=frame mode (see the timing in section 12) 1=multiframe mode (see the timing in section 12) tsio tcr2.2 tsync i/o select. 0=tsync is an input 1=tsync is an output d4ym tcr2.1 d4 yellow alarm select. 0=0s in bit 2 of all channels 1=a 1 in the s-bit position of frame 12 b7zs tcr2.0 bit 7 0 suppression enable. 0=no stuffing occurs 1=bit 7 force to a 1 in channels with all 0s output pin test modes table 3-1 test1 test0 effect on output pins 0 0 operate normally 0 1 force all output pins 3-state (including all i/o pins and parallel port pins) 1 0 force all output pins low (including all i/o pins except parallel port pins) 1 1 force all output pins high (including all i/o pins except parallel port pins)
ds21q41b 18 of 61 ccr1: common control register 1 (address=37 hex) (msb) (lsb) tese odf rsao tsclkm rsclkm rese plb flb symbol position name and description tese ccr1.7 transmit elastic store enable. 0=elastic store is bypassed 1=elastic store is enabled odf ccr1.6 output data format. 0=bipolar data at tpos and tneg 1=nrz data at tpos; tneg=0 rsao ccr1.5 receive signaling all ones. 0=allow robbed signaling bits to appear at rser 1=force all robbed signaling bits at rser to 1 tsclkm ccr1.4 tsysclk mode select. 0=if tsysclk is 1.544 mhz 1=if tsysclk is 2.048 mhz rsclkm ccr1.3 rsysclk mode select. 0=if rsysclk is 1.544 mhz 1=if rsysclk is 2.048 mhz rese ccr1.2 receive elastic store enable. 0=elastic store is bypassed 1=elastic store is enabled plb ccr1.1 payload loopback. 0=loopback disabled 1=loopback enabled flb ccr1.0 framer loopback. 0=loopback disabled 1=loopback enabled payload loopback when ccr1.1 is set to a one, the ds21q41b will be forced into payload loopback (plb). normally, this loopback is only enabled when esf framing is being performed. in a plb situation, the ds21q41b will loop the 192 bits of payload data (with bpvs corrected) from the receive section back to the transmit section. the fps framing pattern, crc6 calculation, and the fdl bits are not looped back; they are reinserted by the ds21q41b. when plb is enabled, the following will occur: 1. data will be transmitted from the tpos and tneg pins synchronous with rclk instead of tclk. 2. all of the receive side signals will continue to operate normally. . 3. the tchclk and tchblk signals are forced low. 4. data at the tser pin is ignored. 5. the tlclk signal will become synchronous with rclk instead of tclk.
ds21q41b 19 of 61 framer loopback when ccr1.0 is set to a 1, the ds21q41b will enter a framer loopback (flb) mode. this loopback is useful in testing and debugging applications. in flb, the ds21q41b will loop data from the transmit side back to the receive side. when flb is enabled, the following will occur: 1. an unframed all 1s code will be transmitted at tpos and tneg. 2. data at rpos and rneg will be ignored. 3. all receive side signals will take on timing synchronous with tclk instead of rclk. ccr2: common control register 2 (address=38 hex) (msb) (lsb) tfm tb8zs tslc96 tfdl rfm rb8zs rslc96 rfdl symbol position name and description tfm ccr2.7 transmit frame mode select. 0=d4 framing mode 1=esf framing mode tb8zs ccr2.6 transmit b8zs enable. 0=b8zs disabled 1=b8zs enabled tslc96 ccr2.5 transmit slc-96/fs bit insertion enable. 0=slc-96 disabled 1=slc-96 enabled tfdl ccr2.4 transmit 0 stuffer enable. 0=0 stuffer disabled 1=0 stuffer enabled rfm ccr2.3 receive frame mode select. 0=d4 framing mode 1=esf framing mode rb8zs ccr2.2 receive b8zs enable. 0=b8zs disabled 1=b8zs enabled rslc96 ccr2.1 receive slc-96 enable. 0=slc-96 disabled 1=slc-96 enabled rfdl ccr2.0 receive 0 destuffer enable. 0=0 destuffer disabled 1=0 destuffer enabled
ds21q41b 20 of 61 ccr3: common control register 3 (address=30 hex) (msb) (lsb) esmdm esr rlos rsms pde tld tlu - symbol position name and description esmdm ccr3.7 elastic store minimum delay mode. see section 10.3 for details. 0=elastic stores operate at full two-frame depth 1=elastic stores operate at 32-bit depth esr ccr3.6 elastic store reset. setting this bit from a 0 to a 1 will force the elastic stores to a known depth. should be toggled after rsysclk and tsysclk have been applied and are stable. must be cleared and set again for a subsequent reset. rlos ccr3.5 function of the rlos/lotc output. 0=receive loss of sync (rlos) 1=loss of transmit clock (lotc) rsms ccr3.4 rsync multiframe skip control. useful in framing format conversions from d4 to esf. 0=rsync will output a pulse at every multiframe 1=rsync will output a pulse at every other multiframe note: for this bit to have any affect, the rsync must be set to output multiframe pulses (rcr2.4=1 and rcr2.3=0). pde ccr3.3 pulse density enforcer enable. 0=disable transmit pulse density enforcer 1=enable transmit pulse density enforcer tld ccr3.2 transmit loop down code (001). 0=transmit data normally 1=replace normal transmitted data with loop down code tlu ccr3.1 transmit loop up code (00001). 0=transmit data normally 1=replace normal transmitted data with loop up code - ccr3.0 not assigned. must be set to 0 when written loop code generation when either the ccr3.1 or ccr3.2 bits are set to one, the ds21q41b will replace the normal transmitted payload with either the loop up or loop down code respectively. the ds21q41b will overwrite the repeating loop code pattern with the framing bits. the sct will continue to transmit the loop codes as long as either bit is set. it is an illegal state to have both ccr3.1 and ccr3.2 set to 1 at the same time.
ds21q41b 21 of 61 pulse density enforcer the ds21q41b always examines both the transmit and receive data streams for violations of the following rules which are required by ansi t1.403-1989: - no more than 15 consecutive 0s - at least n ones in each and every time window of 8 x (n +1) bits where n=1 through 23. violations for the transmit and receive data streams are reported in the rir2.2 and rir2.1 bits, respectively. when the ccr3.3 is set to 1, the ds21q41b will force the transmitted stream to meet this requirement no matter the content of the transmitted stream. when running b8zs, the ccr3.3 bit should be set to 0 since b8zs encoded data streams cannot violate the pulse density requirements. power-up sequence on power-up, after the supplies are stable, the ds21q41b should be configured for operation by writing to all of the internal registers (this includes setting the test registers to 00hex) since the contents of the internal registers cannot be predicted on power-up. finally, after the tsysclk and rsysclk inputs are stable, the esr bit should be toggled from a 0 to a 1 (this step can be skipped if the elastic stores are disabled). 4.0 status and information registers there is a set of four registers that contain information on the current real time status of the ds21q41b, status register 1 (sr1), status register 2 (sr2), receive information register 1 (rir1), and receive information register 2 (rir2). when a particular event has occurred (or is occurring), the appropriate bit in one of these four registers will be set to a 1. all of the bits in these registers operate in a latched fashion. this means that if an event occurs and a bit is set to a 1 in any of the registers, it will remain set until the user reads that bit. the bit will be cleared when it is read and it will not be set again until the event has occurred again or if the alarm(s) is still present. the user will always precede a read of these registers with a write. the byte written to the register will inform the ds21q41b which bits the user wishes to read and have cleared. the user will write a byte to one of these four registers, with a 1 in the bit positions he or she wishes to read and a 0 in the bit positions he or she does not wish to obtain the latest information on. when a 1 is written to a bit location, the read register will be updated with current value and it will be cleared. when a 0 is written to a bit position, the read register will not be updated and the previous value will be held. a write to the status and information registers will be immediately followed by a read of the same register. the read result should be logically and?ed with the mask byte that was just written and this value should be written back into the same register to insure that the bit does indeed clear. this second write is necessary because the alarms and events in the status registers occur asynchronously in respect to their access via the parallel port. the write-read-write scheme is unique to the four status registers and it allows an external microcontroller or microprocessor to individually poll certain bits without disturbing the other bits in the register. this operation is key in controlling the ds21q41b with higher-order software languages. the sr1 and sr2 registers have the unique ability to initiate a hardware interrupt via the int output pin. all four framers within the ds21q41b share the int output. each of the alarms and events in the sr1 and sr2 can be either masked or unmasked from the interrupt pins via the interrupt mask register 1 (imr1) and interrupt mask register 2 (imr2) respectively. the user can determine which framer has active interrupts by polling the interrupt status register (isr).
ds21q41b 22 of 61 isr: interrupt status register (any unused address) (msb) (lsb) f3sr2 f3sr1 f2sr2 f2sr1 f1sr2 f1sr1 f0sr2 f0sr1 symbol position name and description f3sr2 isr.7 status of interrupt for sr2 in framer 3. 1=interrupt active. f3sr1 isr.6 status of interrupt for sr1 in framer 3. 1=interrupt active. f2sr2 isr.5 status of interrupt for sr2 in framer 2. 1=interrupt active. f2sr1 isr.4 status of interrupt for sr1 in framer 2. 1=interrupt active. f1sr2 isr.3 status of interrupt for sr2 in framer 1. 1=interrupt active. f1sr1 isr.2 status of interrupt for sr1 in framer 1. 1=interrupt active. f0sr2 isr.1 status of interrupt for sr2 in framer 0. 1=interrupt active. f0sr1 isr.0 status of interrupt for sr1 in framer 0. 1=interrupt active.
ds21q41b 23 of 61 rir1: receive information register 1 (address=22 hex) (msb) (lsb) cofa 8zd 16zd resf rese sefe b8zs fbe symbol position name and description cofa rir1.7 change of frame alignment. set when the last resync resulted in a change of frame or multiframe alignment. 8zd rir1.6 eight 0 detect. set when a string of at least eight consecutive 0s (regardless of the length of the string) have been received at rpos and rneg. 16zd rir1.5 sixteen 0 detect. set when a string of at least 16 consecutive 0s (regardless of the length of the string) have been received at rpos and rneg. resf rir1.4 receive elastic store full. set when the receive elastic store buffer fills and a frame is deleted. rese rir1.3 receive elastic store empty. set when the receive elastic store buffer empties and a frame is repeated. sefe rir1.2 severely errored framing event. set when 2 out of 6 framing bits (ft or fps) are received in error. b8zs rir1.1 b8zs code word detect. set when a b8zs code word is detected at rpos and rneg independent of whether the b8zs mode is selected or not via ccr2.6. useful for automatically setting the line coding. fbe rir1.0 frame bit error. set when a ft (d4) or fps (esf) framing bit is received in error.
ds21q41b 24 of 61 rir2: receive information register 2 (address=31 hex) (msb) (lsb) rlosc rclc tesf tese tslip rblc rpdv tpdv symbol position name and description rlosc rir2.7 receive loss of sync clear. set when the framer achieves synchronization; will remain set until read. rclc rir2.6 receive carrier loss clear. set when the carrier signal is restored; will remain set until read. tesf rir2.5 transmit elastic store full. set when the transmit elastic store buffer fills and a frame is deleted. tese rir2.4 transmit elastic store empty. set when the transmit elastic store buffer empties and a frame is repeated. tslip rir2.3 transmit elastic store slip occurrence. set when the transmit elastic store has either repeated or deleted a frame. tblc rir2.2 receive blue alarm clear. set when the blue alarm (ais) is no longer detected; will remain set until read. rpdv rir2.1 receive pulse density violation. set when the receive data stream does not meet the ansi t1.403 requirements for pulse density. tpdv rir2.0 transmit pulse density violation. set when the transmit data stream does not meet the ansi t1.403 requirements for pulse density.
ds21q41b 25 of 61 sr1: status register 1 (address=20 hex) (msb) (lsb) lup ldn lotc rslip rbl ryel rcl rlos symbol position name and description lup sr1.7 loop up code detected. set when the repeating ...00001... loop up code is being received. ldn sr1.6 loop down code detected. set when the repeating ...001... loop down code is being received. lotc sr1.5 loss of transmit clock. set when the tclk pin has not transitioned for one channel time (or 5.2 m s). will force the rlos/lotc pin high if enabled via ccr1.6. also will force transmit side formatter to switch to rclk if so enabled via tcr1.7. based on rclk. rslip sr1.4 receive elastic store slip occurrence. set when the receive elastic store has either repeated or deleted a frame. rbl sr1.3 receive blue alarm. set when an unframed all ones code is received at rpos and rneg. ryel sr1.2 receive yellow alarm. set when a yellow alarm is received at rpos and rneg. rcl sr1.1 receive carrier loss. set when 192 consecutive 0s have been detected at rpos and rneg. rlos sr1.0 receive loss of sync. set when the device is not synchronized to the receive t1 stream.
ds21q41b 26 of 61 ds21q41b alarm set & clear criteria table 4-2 alarm set criteria clear criteria blue alarm (ais) (see note 1 below) when over a 3 ms window, five or less 0s are received when over a 3 ms window, six or more 0s are received yellow alarm (rai) 1. d4 bit 2 mode (rcr2.2=0) when bit 2 of 256 consecutive channels is set to 0 for at least 254 occurrences when bit 2 of 256 consecutive channels is set to 0 for less than 254 occurrences 2. d4 12 th f-bit mode (rcr2.2=1; this mode is also referred to as the "japanese yellow alarm") when the 12 th framing bit is set to one for two consecutive occurrences when the 12 th framing bit is set to 0 for two consecutive occurrences 3. esf mode when 16 consecutive patterns of 00ff appear in the fdl when 14 or less patterns of 00ff hex out of 16 possible appear in the fdl red alarm (rcl) (this alarm is also referred to as loss of signal) when 192 consecutive 0s are received when 14 or more ones out of 112 possible bit positions are received starting with the first one received notes: 1. the definition of blue alarm (or alarm indication signal) is an unframed all 1s signal. blue alarm detectors should be able to operate properly in the presence of a 10-3 error rate and they should not falsely trigger on a framed all 1s signal. the blue alarm criteria in the ds21q41b has been set to achieve this performance. it is recommended that the rbl bit be qualified with the rlos bit. 2. ansi specifications use a different nomenclature than the ds21q41b does; the following terms are equivalent: rbl=ais rcl=los rlos=lof ryel=rai loop up/down code detection bits sr1.7 and sr1.6 will indicate when either the standard ?loop up? or ?loop down? codes are being received by the ds21q41b. when a loop up code has been received for 5 seconds, the cpe is expected to loop the recovered data (without correcting bpvs) back to the source. the loop down code indicates that the loopback should be discontinued. see the at&t publication tr 62411 for more details. the ds21q41b will detect the loop up/down codes in both framed and unframed circumstances with bit error rates as high as 10**-2. the loop code detector has a nominal integration period of 48 ms. hence, after about 48 ms of receiving either code, the proper status bit will be set to a 1. after this initial indication, it is recommend that the software poll the ds21q41b every 100 ms to 500 ms until 5 seconds has elapsed to insure that the code is continuously present.
ds21q41b 27 of 61 sr2: status register 2 (address=21 hex) (msb) (lsb) rmf tmf sec rfdl tfdl rmtch raf lorc symbol position name and description rmf sr2.7 receive multiframe . set on receive multiframe boundaries. tmf sr2.6 transmit multiframe. set on transmit multiframe boundaries. sec sr2.5 1-second timer. set on increments of 1 second based on rclk; will be set in increments of 999 ms, 999 ms, and 1002 ms every 3 seconds. rfdl sr2.4 receive fdl buffer full. set when the receive fdl buffer (rfdl) fills to capacity (8 bits). tfdl sr2.3 transmit fdl buffer empty. set when the transmit fdl buffer (tfdl) empties. rmtch sr2.2 receive fdl match occurrence. set when the rfdl matches either rfdlm1 or rfdlm2. raf sr2.1 receive fdl abort. set when eight consecutive 1s are received in the fdl. lorc sr2.0 loss of receive clock. set when the rclk pin has not transitioned for at least 2 m s (3 m s 1 m s).
ds21q41b 28 of 61 imr1: interrupt mask register (address=7f hex) (msb) (lsb) lup ldn lotc slip rbl ryel rcl rlos symbol position name and description lup imr1.7 loop up code detected. 0=interrupt masked 1=interrupt enabled ldn imr1.6 loop down code detected. 0=interrupt masked 1=interrupt enabled lotc imr1.5 loss of transmit clock. 0=interrupt masked 1=interrupt enabled slip imr1.4 elastic store slip occurrence. 0=interrupt masked 1=interrupt enabled rbl imr1.3 receive blue alarm. 0=interrupt masked 1=interrupt enabled ryel imr1.2 receive yellow alarm. 0=interrupt masked 1=interrupt enabled rcl imr1.1 receive carrier loss. 0=interrupt masked 1=interrupt enabled rlos imr1.0 receive loss of sync. 0=interrupt masked 1=interrupt enabled
ds21q41b 29 of 61 imr2: interrupt mask register 2 (address=6f hex) (msb) (lsb) rmf tmf sec rfdl tfdl rmtch raf lorc symbol position name and description rmf imr2.7 receive multiframe. 0=interrupt masked 1=interrupt enabled tmf imr2.6 transmit multiframe. 0=interrupt masked 1=interrupt enabled sec imr2.5 one second timer. 0=interrupt masked 1=interrupt enabled rfdl imr2.4 receive fdl buffer full. 0=interrupt masked 1=interrupt enabled tfdl imr2.3 transmit fdl buffer empty. 0=interrupt masked 1=interrupt enabled rmtch imr2.2 receive fdl match occurrence. 0=interrupt masked 1=interrupt enabled raf imr2.1 receive fdl abort. 0=interrupt masked 1=interrupt enabled lorc imr2.0 loss of receive clock. 0=interrupt masked 1=interrupt enabled
ds21q41b 30 of 61 5.0 error count registers there are a set of three counters in the ds21q41b that record bipolar violations, excessive 0s, errors in the crc6 code words, framing bit errors, and number of multiframes that the device is out of receive synchronization. each of these three counters are automatically updated on 1-second boundaries as determined by the one second timer in status register 2 (sr2.5). hence, these registers contain performance data from the previous second. the user can use the interrupt from the 1-second timer to determine when to read these registers. the user has a full second to read the counters before the data is lost. all three counters will saturate at their respective maximum counts and they will not rollover (note: only the line code violation count register has the potential to overflow). 5.1 line code violation count register (lcvcr) line code violation count register 1 high (lcvcr1) is the most significant word and lcvcr2 is the least significant word of a 16-bit counter that records code violations (cvs). cvs are defined as bipolar violations (bpvs) or excessive 0s. see table 5-1 for details of exactly what the lcvcrs count. if the b8zs mode is set for the receive side via ccr2.2, then b8zs code words are not counted. this counter is always enabled; it is not disabled during receive loss of synchronization (rlos=1) conditions. lcvcr1: line code violation count register 1 (address=23 hex) lcvcr2: line code violation count register 2 (address=24 hex) (msb) (lsb) lcv15 lcv14 lcv13 lcv12 lcv11 lcv10 lcv9 lcv8 lcvcr1 lcv7 lcv6 lcv5 lcv4 lcv3 lcv2 lcv1 lcv0 lcvcr2 symbol position name and description cv16 lcvcr1.7 msb of the 16-bit code violation count cv0 lcvcr2.0 lsb of the 16-bit code violation count line code violation counting arrangements table 5-1 count excessive 0s? (rcr1.7) b8zs enabled? (ccr2.2) what is counted in the lcvcrs no no bpvs yes no bpvs + 16 consecutive 0s no yes bpvs (b8zs code words not counted) yes yes bpvs + 8 consecutive 0s 5.2 path code violation count register (pcvcr) when the receive side of the ds21q41b is set to operate in the esf framing mode (ccr2.3=1), pcvcr will automatically be set as a 12-bit counter that will record errors in the crc6 code words. when set to operate in the d4 framing mode (ccr2.3=0), pcvcr will automatically count errors in the ft framing bit position. via the rcr2.1 bit, the ds21q41b can be programmed to also report errors in the fs framing bit position. the pcvcr will be disabled during receive loss of synchronization (rlos=1) conditions. see table 5-2 for a detailed description of exactly what errors the pcvcr counts.
ds21q41b 31 of 61 pcvcr1: path violation count register 1 (address=25 hex) pcvcr2: path violation count register 2 (address=26 hex) (msb) (lsb) (note 1) (note 1) (note 1) (note 1) crc/fb11 crc/fb10 crc/fb9 crc/fb8 pcvcr1 crc/fb7 crc/fb6 crc/fb5 crc/fb4 crc/fb3 crc/fb2 crc/fb1 crc/fb0 pcvcr2 symbol position name and description crc/fb11 pcvcr1.3 msb of the 12-bit crc6 error or frame bit error count (note 2) crc/fb0 pcvcr2.0 lsb of the 12-bit crc6 error or frame bit error count (note 2) notes: 1. the upper nibble of the counter at address 25 is used by the multiframes out of sync count register. 2. pcvcr counts either errors in crc code words (in the esf framing mode; ccr2.3=1) or errors in the framing bit position (in the d4 framing mode; ccr2.3=0). path code violation counting arrangements table 5-2 framing mode (ccr2.3) count fs errors? (rcr2.1) what is counted in the pcvcrs d4 no errors in the ft pattern d4 yes errors in both the ft and fs patterns esf don't care errors in the crc6 code words 5.3 multiframes out of sync count register (moscr) normally the moscr is used to count the number of multiframes that the receive synchronizer is out of sync (rcr2.0=1). this number is useful in esf applications needing to measure the parameters loss of frame count (lofc) and esf error events as described in at&t publication tr54016. when the moscr is operated in this mode, it is not disabled during receive loss of synchronization (rlos=1) conditions. the moscr has alternate operating mode whereby it will count either errors in the ft framing pattern (in the d4 mode) or errors in the fps framing pattern (in the esf mode). when the moscr is operated in this mode, it is disabled during receive loss of synchronization (rlos=1) conditions. see table 5-3 for a detailed description of what the moscr is capable of counting.
ds21q41b 32 of 61 moscr1: multiframes out of sync count register 1 (address=25 hex) moscr2: multiframes out of sync count register 2 (address=27 hex) (msb) (lsb) mos/fb11 mos/fb10 mos/fb9 mos/fb8 (note 1) (note 1) (note 1) (note 1) moscr1 mos/fb7 mos/fb6 mos/fb5 mos/fb4 mos/fb3 mos/fb2 mos/fb1 mos/fb0 moscr2 symbol position name and description mos/fb11 moscr1.7 msb of the 12-bit multiframes out of sync or f-bit error count (note 2) mos/fb0 moscr2.0 lsb of the 12-bit multiframes out of sync or f-bit error count (note 2) notes: 1. the lower nibble of the counter at address 25 is used by the path code violation count register. 2. moscr counts either errors in framing bit position (rcr2.0=0) or the number of multiframes out of sync (rcr2.0=1). multiframes out of sync counting arrangements table 5-3 framing mode (ccr2.3) count mos or f-bit errors? (rcr2.0) what is counted in the moscrs d4 mos number of multiframes out of sync d4 f-bit errors in the ft pattern esf mos number of multiframes out of sync esf f-bit errors in the fps pattern 6.0 fdl/fs extraction and insertion the ds21q41b has the ability to extract/insert data from/into the facility data link (fdl) in the esf framing mode and from/into fs bit position in the d4 framing mode. since slc-96 utilizes the fs bit position, this capability can also be used in slc-96 applications. the operation of the receive and transmit sections will be discussed separately. contact the factory for a copy of c language source code for implementing the fdl on the ds21q41b. 6.1 receive section in the receive section, the recovered fdl bits or fs bits are shifted bit-by-bit into the receive fdl register (rfdl). since the rfdl is 8 bits in length, it will fill up every 2 ms (8 times 250 m s). the ds21q41b will signal an external microcontroller that the buffer has filled via the sr2.4 bit. if enabled via imr2.4, the int pin will toggle low indicating that the buffer has filled and needs to be read. the user has 2 ms to read this data before it is lost. if the byte in the rfdl matches either of the bytes programmed into the rfdlm1 or rfdlm2 registers, then the sr2.2 bit will be set to a 1 and the int pin will toggled low if enabled via imr2.2. this feature allows an external microcontroller to ignore the fdl or fs pattern until an important event occurs.
ds21q41b 33 of 61 the ds21q41b also contains a 0 destuffer which is controlled via the ccr2.0 bit. in both ansi t1.403 and tr54016, communications on the fdl follows a subset of a lapd protocol. the lapd protocol states that no more than five 1s should be transmitted in a row so that the data does not resemble an opening or closing flag (01111110) or an abort signal (11111111). if enabled via ccr2.0, the ds21q41b will automatically look for five 1s in a row, followed by a 0. if it finds such a pattern, it will automatically remove the 0. if the 0 destuffer sees six or more 1s in a row followed by a 0, the 0 is not removed. the ccr2.0 bit should always be set to a 1 when the ds21q41b is extracting the fdl. more on how to use the ds21q41b in fdl applications is covered in a separate application note. rfdl: receive fdl register (address=28 hex) (msb) (lsb) rfdl7 rfdl6 rfdl5 rfdl4 rfdl3 rfdl2 rfdl1 rfdl0 symbol position name and description rfdl7 rfdl.7 msb of the received fdl code rfdl0 rfdl.0 lsb of the received fdl code the receive fdl register (rfdl) reports the incoming facility data link (fdl) or the incoming fs bits. the lsb is received first. rfdlm1: receive fdl match register 1 (address=29 hex) rfdlm2: receive fdl match register 2 (address=2a hex) (msb) (lsb) rfdl7 rfdl6 rfdl5 rfdl4 rfdl3 rfdl2 rfdl1 rfdl0 symbol position name and description rfdl7 rfdl.7 msb of the fdl match code rfdl0 rfdl.0 lsb of the fdl match code when the byte in the receive fdl register matches either of the two receive fdl match registers (rfdlm1/rfdlm2), rsr2.2 will be set to a 1 and the int will go active if enabled via imr2.2. 6.2 transmit section the transmit section will shift out into the t1 data stream, either the fdl (in the esf framing mode) or the fs bits (in the d4 framing mode) contained in the transmit fdl register (tfdl). when a new value is written to the tfdl, it will be multiplexed serially (lsb first) into the proper position in the outgoing t1 data stream. after the full 8 bits have been shifted out, the ds21q41b will signal the host microcontroller that the buffer is empty and that more data is needed by setting the sr2.3 bit to a 1. the int will also toggle low if enabled via imr2.3. the user has 2 ms (1.5 ms in slc-96 applications) to update the tfdl with a new value. if the tfdl is not updated, the old value in the tfdl will be transmitted once again. the ds21q41b also contains a 0 stuffer which is controlled via the ccr2.4 bit. in both ansi t1.403 and tr54016, communications on the fdl follows a subset of a lapd protocol. the lapd protocol
ds21q41b 34 of 61 states that no more than five 1s should be transmitted in a row so that the data does not resemble an opening or closing flag (01111110) or an abort signal (11111111). if enabled via ccr2.4, the ds21q41b will automatically look for five 1s in a row. if it finds such a pattern, it will automatically insert a 0 after the five ones. the ccr2.4 bit should always be set to a 1 when the ds21q41b is inserting the fdl. more on how to use the ds21q41b in fdl applications is covered in a separate application note. tfdl: transmit fdl register (address=7e hex) (msb) (lsb) tfdl7 tfdl6 tfdl5 tfdl4 tfdl3 tfdl2 tfdl1 tfdl0 symbol position name and description tfdl7 tfdl.7 msb of the fdl code to be transmitted tfdl0 tfdl.0 lsb of the fdl code to be transmitted the transmit fdl register (tfdl) contains the facility data link (fdl) information that is to be inserted on a byte basis into the outgoing t1 data stream. the lsb is transmitted first. 7.0 signaling operation the robbed bit signaling bits in embedded in the t1 stream can be extracted from the receive stream and inserted into the transmit stream by the ds21q41b. there is a set of 12 registers for the receive side (rs1 to rs12) and 12 registers on the transmit side (ts1 to ts12). the signaling registers are detailed below. the ccr1.5 bit is used to control the robbed signaling bits as they appear at rser. if ccr1.5 is set to 0, then the robbed signaling bits will appear at rser in their proper position as they are received. if ccr1.5 is set to a 1, then the robbed signaling bit positions will be forced to a 1 at rser.
ds21q41b 35 of 61 rs1 to rs12: receive signaling registers (address=60 to 6b hex) (msb) (lsb) a(8) a(7) a(6) a(5) a(4) a(3) a(2) a(1) rs1 (60) a(16) a(15) a(14) a(13) a(12) a(11) a(10) a(9) rs2 (61) a(24) a(23) a(22) a(21) a(20) a(19) a(18) a(17) rs3 (62) b(8) b(7) b(6) b(5) b(4) b(3) b(2) b(1) rs4 (63) b(16) b(15) b(14) b(13) b(12) b(11) b(10) b(9) rs5 (64) b(24) b(23) b(22) b(21) b(20) b(19) b(18) b(17) rs6 (65) a/c(8) a/c(7) a/c(6) a/c(5) a/c(4) a/c(3) a/c(2) a/c(1) rs7 (66) a/c(16) a/c(15) a/c(14) a/c(13) a/c(12) a/c(11) a/c(10) a/c(9) rs8 (67) a/c(24) a/c(23) a/c(22) a/c(21) a/c(20) a/c(19) a/c(18) a/c(17) rs9 (68) b/d(8) b/d(7) b/d(6) b/d(5) b/d(4) b/d(3) b/d(2) b/d(1) rs10 (69) b/d(16) b/d(15) b/d(14) b/d(13) b/d(12) b/d(11) b/d(10) b/d(9) rs11 (6a) b/d(24) b/d(23) b/d(22) b/d(21) b/d(20) b/d(19) b/d(18) b/d(17) rs12 (6b) symbol position name and description d(24) rs12.7 signaling bit d in channel 24 a(1) rs1.0 signaling bit a in channel 1 each receive signaling register (rs1 to rs12) reports the incoming robbed bit signaling from eight ds0 channels. in the esf framing mode, there can be up to four signaling bits per channel (a, b, c, and d). in the d4 framing mode, there are only two signaling bits per channel (a and b). in the d4 framing mode, the ds21q41b will replace the c and d signaling bit positions with the a and b signaling bits from the previous multiframe. hence, whether the ds21q41b is operated in either framing mode, the user needs only to retrieve the signaling bits every 3 ms. the bits in the receive signaling registers are updated on multiframe boundaries in both framing modes so the user can utilize the receive multiframe interrupt in the receive status register 2 (sr2.7) to know when to retrieve the signaling bits. the receive signaling registers are frozen and not updated during a loss of sync condition (sr1.0=1). they will contain the most recent signaling information before the ?oof? occurred.
ds21q41b 36 of 61 ts1 to ts12: transmit signaling registers (address=70 to 7b hex) (msb) (lsb) a(8) a(7) a(6) a(5) a(4) a(3) a(2) a(1) ts1 (70) a(16) a(15) a(14) a(13) a(12) a(11) a(10) a(9) ts2 (71) a(24) a(23) a(22) a(21) a(20) a(19) a(18) a(17) ts3 (72) b(8) b(7) b(6) b(5) b(4) b(3) b(2) b(1) ts4 (73) b(16) b(15) b(14) b(13) b(12) b(11) b(10) b(9) ts5 (74) b(24) b(23) b(22) b(21) b(20) b(19) b(18) b(17) ts6 (75) a/c(8) a/c(7) a/c(6) a/c(5) a/c(4) a/c(3) a/c(2) a/c(1) ts7 (76) a/c(16) a/c(15) a/c(14) a/c(13) a/c(12) a/c(11) a/c(10) a/c(9) ts8 (77) a/c(24) a/c(23) a/c(22) a/c(21) a/c(20) a/c(19) a/c(18) a/c(17) ts9 (78) b/d(8) b/d(7) b/d(6) b/d(5) b/d(4) b/d(3) b/d(2) b/d(1) ts10 (79) b/d(16) b/d(15) b/d(14) b/d(13) b/d(12) b/d(11) b/d(10) b/d(9) ts11 (7a) b/d(24) b/d(23) b/d(22) b/d(21) b/d(20) b/d(19) b/d(18) b/d(17) ts12 (7b) symbol position name and description d(24) ts12.7 signaling bit d in channel 24 a(1) ts1.0 signaling bit a in channel 1 each transmit signaling register (ts1 to ts12) contains the robbed bit signaling for eight ds0 channels that will be inserted into the outgoing stream if enabled to do so via tcr1.4. in the esf framing mode, there can be up to four signaling bits per channel (a, b, c, and d). on multiframe boundaries, the ds21q41b will load the values present in the transmit signaling register into an outgoing signaling shift register that is internal to the device. the user can utilize the transmit multiframe interrupt in status register 2 (sr2.6) to know when to update the signaling bits. in the esf framing mode, the interrupt will come every 3 ms and the user has a full 3 ms to update the tsrs. in the d4 framing mode, there are only two framing bits per channel (a and b). however in the d4 framing mode, the ds21q41b uses the c and d-bit positions as the a and b bit positions for the next multiframe. the ds21q41b will load the values in the tsrs into the outgoing shift register every other d4 multiframe. 8.0 special transmit side registers there is a set of seven registers in the ds21q41b that can be used to custom tailor the data that is to be transmitted onto the t1 line, on a channel by channel basis. each of the 24 t1 channels can be either forced to be transparent or to have a user defined idle code inserted into them. each of these special registers is defined below.
ds21q41b 37 of 61 ttr1/ttr2/ttr3: transmit transparency registers (address=39 to 3b hex) (msb) (lsb) ch8 ch7 ch6 ch5 ch4 ch3 ch2 ch1 ttr1 (29) ch16 ch15 ch14 ch13 ch12 ch11 ch10 ch9 ttr2 (3a) ch24 ch23 ch22 ch21 ch20 ch19 ch18 ch17 ttr3 (3b) symbol position name and description ch24 ttr3.7 transmit transparency registers. 0=this ds0 channel is not transparent ch1 ttr1.0 1=this ds0 channel is transparent each of the bit positions in the transmit transparency registers (ttr1/ttr2/ttr3) represent a ds0 channel in the outgoing frame. when these bits are set to a 1, the corresponding channel is transparent (or clear). if a ds0 is programmed to be clear, no robbed bit signaling will be inserted nor will the channel have bit 7 stuffing performed. however, in the d4 framing mode, bit 2 will be overwritten by a 0 when a yellow alarm is transmitted. also the user has the option to prevent the ttr registers from determining which channels are to have bit 7 stuffing performed. if the tcr2.0 and tcr1.3 bits are set to 1, then all 24 t1 channels will have bit 7 stuffing performed on them regardless of how the ttr registers are programmed. in this manner, the ttr registers are only affecting which channels are to have robbed bit signaling inserted into them. please see figure 13-9 for more details. tir1/tir2/tir3: transmit idle registers (address=3c to 3e hex) (msb) (lsb) ch8 ch7 ch6 ch5 ch4 ch3 ch2 ch1 tir1 (3c) ch16 ch15 ch14 ch13 ch12 ch11 ch10 ch9 tir2 (3d) ch24 ch23 ch22 ch21 ch20 ch19 ch18 ch17 tir3 (3e) symbol position name and description ch24 tir3.7 transmit idle registers. 0=do not insert the idle code into this ds0 channel ch1 tir1.0 1=insert the idle code into this channel tidr: transmit idle definition register (address=3f hex) (msb) (lsb) tidr7 tidr6 tidr5 tidr4 tidr3 tidr2 tidr1 tidr0 symbol position name and description tidr7 tidr.7 msb of the idle code tidr0 tidr.0 lsb of the idle code
ds21q41b 38 of 61 each of the bit positions in the transmit idle registers (tir1/tir2/tir3) represent a ds0 channel in the outgoing frame. when these bits are set to a 1, the corresponding channel will transmit the idle code contained in the transmit idle definition register (tidr). robbed bit signaling and bit 7 stuffing will occur over the programmed idle code unless the ds0 channel is made transparent by the transmit transparency registers. 9.0 clock blocking registers the receive channel blocking registers (rcbr1/rcbr2/rcbr3) and the transmit channel blocking registers (tcbr1/tcbr2/tcbr3) control the rchblk and tchblk pins respectively. the rchblk and tchclk pins are user-programmable outputs that can be forced either high or low during individual channels. these outputs can be used to block clocks to a usart or lapd controller in fractional t1 or isdn-pri applications. when the appropriate bits are set to a 1, the rchblk and tchclk pins will be held high during the entire corresponding channel time. see the timing in section 12 for an example. rcbr1/rcbr2/rcbr3: receive channel blocking registers (address=6c to 6e hex) (msb) (lsb) ch8 ch7 ch6 ch5 ch4 ch3 ch2 ch1 rcbr1 (6c) ch16 ch15 ch14 ch13 ch12 ch11 ch10 ch9 rcbr2 (6d) ch24 ch23 ch22 ch21 ch20 ch19 ch18 ch17 rcbr3 (6e) symbol position name and description ch24 rcbr3.7 receive channel blocking registers. 0=force the rchblk pin to remain low during this channel time ch1 rcbr1.0 1=force the rchblk pin high during this channel time tcbr1/tcbr2/tcbr3: transmit channel blocking registers (address=32 to 34 hex) (msb) (lsb) ch8 ch7 ch6 ch5 ch4 ch3 ch2 ch1 tcbr1 (32) ch16 ch15 ch14 ch13 ch12 ch11 ch10 ch9 tcbr2 (33) ch24 ch23 ch22 ch21 ch20 ch19 ch18 ch17 tcbr3 (34) symbol position name and description ch24 tcbr3.7 transmit channel blocking registers. 0=force the tchblk pin to remain low during this channel time ch1 tcbr1.0 1=force the tchblk pin high during this channel time
ds21q41b 39 of 61 10.0 elastic stores operation each framer within the ds21q41b contains dual two-frame (386 bits) elastic stores, one for the receive direction, and one for the transmit direction. these elastic stores have two main purposes. first, they can be used to rate convert the t1 data stream to 2.048 mbps (or a multiple of 2.048 mbps) which is the e1 rate. secondly, they can be used to absorb the differences in frequency and phase between the t1 data stream and an asynchronous (i.e., not frequency locked) backplane clock (which can be 1.544 mhz or 2.048 mhz ). both elastic stores contain full controlled slip capability which is necessary for this second purpose. the receive side elastic store can be enabled via ccr1.2 and the transmit side elastic store is enabled via ccr1.7. the elastic stores can be forced to a known depth via the elastic store reset bit (ccr3.6). toggling the ccr3.6 bit forces the read and write pointers into opposite frames. both elastic stores within the ds21q41b are fully independent and no restrictions apply to the sourcing of the various clocks that are applied to them. the transmit side elastic store can be enabled whether the receive elastic store is enabled or disabled and vice versa. also, each elastic store can interface to either a 1.544 mhz or 2.048 mhz backplane without regard to the backplane rate the other elastic store is interfacing. 10.1 receive side if the receive side elastic store is enabled (ccr1.2=1), then the user must provide either a 1.544 mhz (ccr1.3=0) or 2.048 mhz (ccr1.3=1) clock at the rsysclk pin. the user has the option of either providing a frame sync at the rsync pin (rcr2.3=1) or having the rsync pin provide a pulse on frame boundaries (rcr2.3=0). if the user wishes to obtain pulses at the frame boundary, then rcr2.4 must be set to 0, and if the user wishes to have pulses occur at the multiframe boundary, then rcr2.4 must be set to 1. the ds21q41b will always indicate frame boundaries via the rfsync output whether the elastic store is enabled or not. if the elastic store is enabled, then multiframe boundaries will be indicated via the rmsync output. if the user selects to apply a 2.048 mhz clock to the sysclk pin, then the data output at rser will be forced to all 1s every fourth channel and the f-bit will be deleted. hence channels 1, 5, 9, 13, 17, 21, 25, and 29 (timeslots 0, 4, 8, 12, 16, 20, 24, and 28) will be forced to a 1. also, in 2.048 mhz applications, the rchblk output will be forced high during the same channels as the rser pin. see section 12 for more details. this is useful in t1 to cept (e1) conversion applications. if the 386-bit elastic buffer either fills or empties, a controlled slip will occur. if the buffer empties, then a full frame of data (193 bits) will be repeated at rser and the sr1.4 and rir1.3 bits will be set to a 1. if the buffer fills, then a full frame of data will be deleted and the sr1.4 and rir1.4 bits will be set to a 1. 10.2 transmit side the operation of the transmit elastic store is very similar to the receive side. the transmit side elastic store is enabled via ccr1.7. a 1.544 mhz (ccr1.4=0) or 2.048 mhz (ccr1.4=1) clock can be applied to the tsysclk input. if the user selects to apply a 2.048 mhz clock to the tsysclk pin, then the data output at tser will be ignored every fourth channel. hence channels 1, 5, 9, 13, 17, 21, 25, and 29 (timeslots 0, 4, 8, 12, 16, 20, 24, and 28) will be ignored. the user must supply a 8 khz frame sync pulse to the tfsync input. also, in 2.048 mhz applications the tchblk output will be forced high during the channels ignored by the ds21q41b. see section 12 for more details. controlled slips in the transmit elastic store are reported in the rir2.3 bit and the direction of the slip is reported in the rir2.5 and rir2.4 bits. 10.3 minimum delay synchronous sysclk mode in applications where the ds21q41b is connected to backplanes that are frequency locked to the recovered t1 clock (i.e., the rclk output), the full two-frame depth of the onboard elastic stores is really not needed. in fact, in some delay sensitive applications, the normal two-frame depth may be excessive. if the ccr3.7 bit is set to 1, then the receive elastic store (and also the transmit elastic store if it is enabled) will be forced to a maximum depth of 32 bits instead of the normal 386 bits. in this mode, rsysclk
ds21q41b 40 of 61 and tsysclk must be tied together and they must be frequency locked to rclk. all of the slip contention logic in the ds21q41b is disabled (since slips cannot occur). also, since the buffer depth is no longer two frames deep, the ds21q41b must be set up to source either a frame pulse at the rsync pin and this output must be tied to the tfsync input. on power-up after the rsysclk and tsysclk signals have locked to the rclk signal, the elastic store reset bit (ccr3.6) should be toggled from a 0 to a 1 to insure proper operation. 11.0 receive mark registers the ds21q41b has the ability to replace the incoming data, on a channel-by-channel basis with either an idle code (7f hex) or the digital milliwatt code which is a 8-byte repeating pattern that represents a 1 khz sine wave (1e/0b/0b/1e/9e/8b/8b/9e). the rcr2.7 bit will determine which code is used. each bit in the rmrs, represents a particular channel. if a bit is set to a one, then the receive data in that channel will be replaced with one of the two codes. if a bit is set to 0, no replacement occurs. rmr1/rmr2/rmr3: receive mark registers (address=2d to 2f hex) (msb) (lsb) ch8 ch7 ch6 ch5 ch4 ch3 ch2 ch1 rmr1 (2d) ch16 ch15 ch14 ch13 ch12 ch11 ch10 ch9 rmr2 (2e) ch24 ch23 ch22 ch21 ch20 ch19 ch18 ch17 rmr3 (2f) symbol position name and description ch24 rcbr3.7 receive channel blocking registers. 0=do not affect the receive data associated with this channel ch1 rcbr1.0 1=replace the receive data associated with this channel with either the idle code or the digital milliwatt code (depends on the (rcr2.7 bit)
ds21q41b 41 of 61 12.0 timing diagrams receive side d4 timing figure 12-1 notes: 1. rsync in the frame mode (rcr2.4=0) and double-wide frame sync is not enabled (rcr2.5=0). 2. rsync in the frame mode (rcr2.4=0) and double-wide frame sync is enabled (rcr2.5=1). 3. rsync in the multiframe mode (rcr2.4=1). 4. rlink data (s-bit) is updated one bit prior to even frames and held for two frames. 5. rlink and rlclk are not synchronous with rsync when the receive side elastic store is enabled.
ds21q41b 42 of 61 receive side esf timing figure 12-2 notes: 1. rsync in the frame mode (rcr2.4=0) and double-wide frame sync is not enabled (rcr2.5=0). 2. rsync in the frame mode (rcr2.4=0) and double-wide frame sync is enabled (rcr2.5=1). 3. rsync in the multiframe mode (rcr2.4=1). 4. zbtsi mode disabled (rcr2.6=0). 5. rlink data (fdl bits) is updated 1 bit-time before odd frames and held for two frames. 6. zbtsi mode is enabled (rcr2.6=1). 7. rlink data (z-bits) is updated 1 bit-time before odd frame and held for four frames. 8. rlink and rlclk are not synchronous with rsync when the receive side elastic store is enabled.
ds21q41b 43 of 61 receive side boundary timing (with elastic store disabled) figure 12-3 notes: 1. there is a 13 rclk delay from rpos/rneg to rser. 2. rchblk is programmed to block channel 24. 3. boundary timing shown is for the esf framing mode.
ds21q41b 44 of 61 receive side 1.544 mhz boundary timing (with elastic store enabled) figure 12-4 notes: 1. rsync is in the output mode (rcr2.3=0). 2. rsync is in the input mode (rcr2.3=1). 3. rchblk is programmed to block channel 24.
ds21q41b 45 of 61 receive side 2.048 mhz boundary timing (with elastic store enabled) figure 12-5 notes: 1. rser data in channels 1, 5, 9, 13, 17, 21, 25, and 29 are forced to 1. 2. rsync is in the output mode (rcr2.3=0). 3. rsync is in the input mode (rcr2.3=1). 4. rchblk is forced to 1 in the same channels as rser (see note 1). transmit side d4 timing figure 12-6 notes: 1. tsync in the frame mode (tcr2.3=0) and double-wide frame sync is not enabled (tcr2.4=0). 2. tsync in the frame mode (tcr2.3=0) and double-wide frame sync is enabled (tcr2.4=1). 3. tsync in the multiframe mode (tcr2.3=1). 4. tlink data (s-bit) is sampled during the f-bit position of even frames for insertion into the outgoing t1 stream when enabled via tcr1.2. 5. tlink and tlclk are not synchronous with tfsync.
ds21q41b 46 of 61 transmit side esf timing figure 12-7 notes: 1. tsync in the frame mode (tcr2.3=0) and double-wide frame sync is not enabled (tcr2.4=0). 2. tsync in the frame mode (tcr2.3=0) and double-wide frame sync is enabled (tcr2.4=1). 3. tsync in the multiframe mode (tcr2.4=1). 4. zbtsi mode disabled (tcr2.5=0). 5. tlink data (fdl bits) is sampled during the f-bit time of odd frame and inserted into the outgoing t1 stream if enabled via tcr1.2. 6. zbtsi mode is enabled (tcr2.5=1). 7. tlink data (z-bits) is sampled during the f-bit time of frame 1, 5, 9, 13, 17, and 21 and inserted into the outgoing stream if enabled via tcr1.2. 8. tlink and tlclk are not synchronous with tfsync.
ds21q41b 47 of 61 transmit side boundary timing (with elastic store disabled) figure 12-8 notes: 1. there is a 10 tclk delay from tser to tpos/tneg. 2. tsync is in the output mode (tcr2.0=1). 3. tsync is in the input mode (tcr2.0=0). 4. tchblk is programmed to block channel 2.
ds21q41b 48 of 61 transmit side 1.544 mhz boundary timing (with elastic store enabled) figure 12-9 note: 1. tchblk is programmed to block channel 24. transmit side 2.048 mhz boundary timing (with elastic store enabled) figure 12-10 notes: 1. tser data in channels 1, 5, 9, 13, 17, 21, 25, and 29 is ignored. 2. tchblk is forced to 1 in the same channels as tser (see note 1).
ds21q41b 49 of 61 ds21q41b transmit data flow figure 12-11
ds21q41b 50 of 61 13.0 ac and dc characteristics absolute maximum ratings* voltage on any pin relative to ground -1.0v to +7.0v operating temperature 0c to 70c for ds21q41bt operating temperature -40c to +85c for ds21q41btn storage temperature -55c to +125c soldering temperature 260c for 10 seconds * this is a stress rating only and functional operation of the device at these or any other conditions above those indicated in the operation sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods of time may affect reliability. recommended dc (0 c to 70 c for ds21q41bt; operation conditions -40 c to +85 c for ds21q41btn) parameter symbol min typ max units notes logic 1 v ih 2.0 v dd +0.3 v logic 0 v il -0.3 +0.8 v supply v dd 4.50 5.50 v 1 capacitance (t a =25 c) parameter symbol min typ max units notes input capacitance c in 5 pf output capacitance c out 7 pf dc (0 c to 70 c; v dd =5v 10% for ds21q41bt; characteristics -40 c to +85 c; v dd =5v 10% for ds21q41btn) parameter symbol min typ max units notes supply current @ 5v i dd 30 ma 1 input leakage i il -1.0 +1.0 m a 2 output leakage i lo 1.0 m a 3 output current (2.4v) i oh -1.0 ma output current (0.4v) i ol +4.0 ma notes: 1. tclk = rclk = tsysclk = rsysclk = 1.544 mhz ; outputs open circuited. 2. 0.0v < v in < v dd . 3. applies to int when 3-stated.
ds21q41b 51 of 61 ac characteristics - multiplexed parallel (0 c to 70 c; v dd =5v 10% for ds21q41bt; port (mux=1) -40 c to +85 c; v dd =5v 10% for ds21q41btn) parameter symbol min typ max units notes cycle time t cyc 200 ns pulse width, ds low or rd high pw el 100 ns pulse width, ds high or rd low pw eh 100 ns input rise/fall times t r , t f 20 ns r/ w hold time t rwh 10 ns r/ w setup time before ds high t rws 50 ns cs , fs0, fs1 setup time before ds, wr or rd active t cs 20 ns cs , fs0, fs1 hold time t ch 0 ns read data hold time t dhr 10 50 ns write data hold time t dhw 0 ns muxed address valid to as or ale fall t asl 15 ns muxed address hold time t ahl 10 ns delay time ds, wr or rd to as or ale rise t asd 20 ns pulse width as or ale high pw ash 30 ns delay time, as or ale to ds, wr or rd t ased 10 ns output data delay time from ds or rd t ddr 20 80 ns data setup time t dsw 50 ns see figures 13-1 to 13-3 for details.
ds21q41b 52 of 61 intel bus read ac timing (bts=0/mux=1) figure 13-1 intel bus write ac timing (bts=0/mux=1) figure 13-2 motorola bus ac timing (bts=1/mux=1) figure 13-3
ds21q41b 53 of 61 ac characteristics - (0 c to 70 c; v dd =5v 10% for ds21q41bt; receive side -40 c to +85 c; v dd =5v 10% for ds21q41btn) parameter symbol min typ max units notes rclk period t cp 648 ns rclk pulse width t ch t cl 75 75 ns ns rsysclk period t sp t sp 648 488 ns ns 1 2 rsysclk pulse width t sh t sl 50 50 ns rsync set up to rsysclk falling or rpos/rneg set up to rclk falling t su 20 ns rsync pulse width t pw 50 ns 3 rpos/rneg hold from rclk falling t hd 20 ns rclk and rsysclk rise and fall times t r , t f 25 ns delay rclk or rsysclk to rser valid t dd 75 ns delay rclk or rsysclk to rchclk t d1 75 ns delay rclk or rsysclk to rchblk t d2 75 ns delay rclk to rfsync or rsync or delay rsysclk to rmsync or rsync t d3 75 ns delay rclk to rlclk t d4 75 ns delay rclk to rlink valid t d5 75 ns see figures 13-4 to 13-6 for details. notes: 1. rsysclk=1.544 mhz. 2. rsysclk=2.048 mhz. 3. rsync in input mode.
ds21q41b 54 of 61 receive side ac timing figure 13-4 note: 1. rsync is in the output mode (rcr2.3=0).
ds21q41b 55 of 61 receive system side ac timing figure 13-5 notes: 1. rsync is in the output mode (rcr 2.3 = 0). 2. rsync is in the input mode (rcr 2.3 = 1). receive line interface ac timing figure 13-6
ds21q41b 56 of 61 transmit line interface side ac timing figure 13-7 ac characteristics - (0 c to 70 c; v dd =5v 10% for ds21q41bt; transmit side -40 c to +85 c; v dd =5v 10% for ds21q41btn) parameter symbol min typ max units notes tclk period t cp 648 ns tclk pulse width t ch t cl 75 75 ns ns tsysclk period t sp t sp 648 488 ns ns 1 2 tsysclk pulse width t sh t sl 50 50 ns ns tser, tsync and tlink set up to tclk falling or tser, tfsync set up to tsysclk falling t su 20 ns tsync, tfsync pulse width t pw 50 ns 3 tser, tsync and tlink hold from tclk falling or tser t hd 20 ns tclk or tsysclk rise and fall times t r , t f 25 ns delay tclk to tpos/tneg valid t dd 75 ns delay tclk to tchclk or tsysclk to tchclk t d1 75 ns delay tclk to tchblk or tsysclk to tchblk t d2 75 ns delay tclk to tsync t d3 75 ns delay tclk to tlclk t d4 75 ns see figures 13-7 to 13-9 for details. notes: 1. tsysclk = 1.544 mhz. 2. tsysclk = 2.048 mhz. 3. tsync in input mode.
ds21q41b 57 of 61 transmit side ac timing figure 13-8 notes: 1. tsync is in the output mode (tcr2.2=1). 2. tsync is in the input mode (tcr2.2=0). 3. tser is sampled on the falling edge of tclk when the transmit side elastic store is disabled. 4. tchclk and tchblk are synchronous with tclk when the transmit side elastic store is disabled.
ds21q41b 58 of 61 transmit system side ac timing figure 13-9 notes: 1. tser is only sampled on the falling edge of tsysclk when the transmit side elastic store is enabled. 2. tchclk and tchblk are synchronous with tsysclk when the transmit side elastic store is enabled. 3. msb of channel 1 when tsysclk is in 2.048 mode.
ds21q41b 59 of 61 ac characteristics - non-multiplexed parallel (0 c to 70 c; v dd =5v 10% for ds21q41bt; port (mux=0) -40 c to +85 c; v dd =5v 10% for ds21q41btn) parameter symbol min typ max units notes set up time for a0 to a6, fs0, fs1 valid to cs active t 1 0 ns set up time for cs active to either rd, wr, or ds active t 2 0 ns delay time from either rd or ds active to data valid t 3 75 ns hold time from either rd, wr, or ds inactive to cs inactive t 4 0 ns hold time from cs inactive to data bus 3-state t 5 5 20 ns wait time from either wr or ds active to latch data t 6 75 ns data set up time to either wr or ds inactive t 7 10 ns data hold time from either wr or ds inactive t 8 10 ns address hold time t 9 40 ns see figures 13-10 to 13-13 for details. intel bus read ac timing (bts=0/mux=0) figure 13-10
ds21q41b 60 of 61 intel bus write ac timing (bts=0/mux=0) figure 13-11 motorola bus read ac timing (bts=1/mux=0) figure 13-12 motorola bus write ac timing (bts=1/mux=0) figure 13-13
ds21q41b 61 of 61 ds21q41b 128-pin tqfp pkg 128-pin dim min max a - 1.60 a1 0.05 - a2 1.35 1.45 b 0.17 0.27 c 0.09 0.20 d 21.80 22.20 d1 20.00 bsc e 15.80 16.20 e1 14.00 bsc e 0.50 bsc l 0.45 0.75 56-g4011-000


▲Up To Search▲   

 
Price & Availability of DS21Q41AFP

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X